<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<html>
<head>
<TITLE>上传文件</TITLE>
<meta http-equiv="Expires" content="0" />
<meta http-equiv="Cache-Control" content="no-cache" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/pages/login/css/main.css" />
<link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/pages/login/css/top_style.css" />
<script language="javascript" type="text/javascript"
	src="<%=request.getContextPath()%>/swordweb/core/jsimport/Sword.js"  bizJs="['/pages/common/upload.js']"></script>
</head>
<body  style="border-left: 1px solid #DDD9DA;">
<div sword="SwordForm" name="form_file">
	<div type="hidden" name="type" defValue="shopweb"></div>
    <table	class="layout1" >
	    <colgroup>
			<col width="15%" />
		    <col width="35%" />
			<col width="15%" />
		    <col width="35%" />
	    </colgroup>
	    <tr>
	    	<td class="title" colspan="4" >选择你要上传的图片文件</td>
	    </tr>
	    <tr>
	    	<td colspan="4">
	    	   <div name="fj" type="file2" rule="must" fileListMax="1" addCaption="浏览本地文件" typeFilter="{'图片 (*.jpg, *.jpeg, *.gif, *.png)': '*.jpg; *.jpeg; *.gif; *.png'}"></div>
	    	   <br/>
	    	   <div>
	    	         说明：<br/>
	    	   1、图片大小不能超过2M<br/>
	    	   2、每次仅限上传一张图片<br/>
	    	   3、支持格式：.jpg .gif .png .bmp
	    	   </div>
	    	   <div sword="SwordSubmit" name="submit_upload" class="submit" value="确定上传" show="false" onclick="SwordSubmit_onclick_submit_upload()"></div>
	    	</td>
	    </tr>
	</table>
</div>
<!-- 真正的提交按钮开始 -->
<div sword="SwordSubmit" name="submit_upload" value="确定上传"
	    	   	    ctrl="UploadCtrl_uploadFjAndGetPath" 
	    	   		onSuccess="SwordSubmit_onSuccess_submit_upload()">
	 <div widgetName="form_file"></div>
</div>
<!-- 真正的提交按钮结束 -->
</body>
</html>